package com.adtech.adms.commons.util;

import java.util.Date;

import org.apache.commons.beanutils.Converter;

/**
 * 
 * @author Dormin
 * @since 2012-5-14
 * 
 * @Copyright (C) AD Tech Workshop All Right Reserved
 */
public class DateConvert implements Converter {   
	  
    public Object convert(Class arg0, Object arg1) {   
    	Date p = (Date)arg1;   
        if(p== null){   
            return null;   
         }      
       return arg1;
           
     }   
}  
